package cn.basic.bean.vo;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author: ZZZ
 * @time: 2021/2/24 13:49
 */
public class RequestVo implements Serializable {
    @NotBlank(message ="serviceCode不能为空")
    private String serviceCode;           //服务编码

    @NotBlank(message ="callPartyId不能为空")
    private String callPartyId;          //调用方ID

    @NotBlank(message ="callTime不能为空")
    private String callTime;              //调用时间

    @NotBlank(message ="callSn不能为空")
    private String callSn;                //服务唯一流水号

    @NotBlank(message ="userId不能为空")
    private String userId;                //用户编号

    @NotBlank(message ="location不能为空")
    private String location;              //经纬度

    @NotBlank(message ="address不能为空")
    private String address;               //详细地址

    @NotBlank(message ="secretKey不能为空")
    private String secretKey;             //秘钥

    private int n;

    public int getN() {
        return n;
    }

    public void setN(int n) {
        this.n = n;
    }

    //    @NotNull
//    @Valid
    private RequestParamsVo requestParams;//数据

    public String getServiceCode() {
        return serviceCode;
    }

    public void setServiceCode(String serviceCode) {
        this.serviceCode = serviceCode;
    }

    public String getCallPartyId() {
        return callPartyId;
    }

    public void setCallPartyId(String callPartyId) {
        this.callPartyId = callPartyId;
    }

    public String getCallTime() {
        return callTime;
    }

    public void setCallTime(String callTime) {
        this.callTime = callTime;
    }

    public String getCallSn() {
        return callSn;
    }

    public void setCallSn(String callSn) {
        this.callSn = callSn;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public RequestParamsVo getRequestParams() {
        return requestParams;
    }

    public void setRequestParams(RequestParamsVo requestParams) {
        this.requestParams = requestParams;
    }
}
